package com.asc.mywriter.mapper;

import com.asc.mywriter.bean.ProOrder;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Param;

import java.util.Date;

public interface OrderMapper {

    @Insert("insert into pro_order (user_id,pro_id,update_time) values (#{userId},#{proId},#{updateTime})")
    public void saveOrder(@Param("userId") Integer userId, @Param("proId") Integer proId, @Param("updateTime") Date updateTime);
}
